import requests


def get_header():
    resp = requests.post(url="http://ihrm2-test.itheima.net/api/sys/login",
                         headers={"Content-Type": "application/json"},
                         json={"mobile":"13800000002","password":"123456"})
    token=resp.json().get("data")
    return {"Authorization":token}
if __name__ == '__main__':
    print(get_header())